Imports Microsoft.VisualBasic

Public Class Planificacion_M1

    Private _id As Integer
    Private _marca As String
    Private _cantidad As String
    Private _descripcion As String
    Private _kguni As Integer
    Private _observacion As String
    Private _plano As String
    Private _planificado As Boolean
    Private _porcentaje_avance As String
    Private _fk_planificacion As Integer

    Public Sub New(ByVal marca As String, ByVal cantidad As String, ByVal descripcion As String, ByVal kguni As Integer, _
                   ByVal observacion As String, ByVal plano As String, ByVal planificado As Boolean, ByVal por_avance As String, _
                   ByVal fk_plani As String, Optional ByVal id As Integer = -1)
        Me._id = id
        Me._marca = marca
        Me._cantidad = cantidad
        Me._descripcion = descripcion
        Me._observacion = observacion
        Me._kguni = kguni
        Me._plano = plano
        Me._planificado = planificado
        Me._porcentaje_avance = por_avance
        Me._fk_planificacion = fk_plani


    End Sub

    Public Property id() As Integer
        Get
            Return _Id
        End Get

        Set(ByVal value As Integer)
            _Id = value
        End Set
    End Property

    Public Property marca() As String
        Get
            Return _marca
        End Get

        Set(ByVal value As String)
            _marca = value
        End Set
    End Property

    Public Property Cantidad() As String
        Get
            Return _cantidad
        End Get

        Set(ByVal value As String)
            _cantidad = value
        End Set
    End Property

    Public Property Descripcion() As String
        Get
            Return _descripcion
        End Get

        Set(ByVal value As String)
            _descripcion = value
        End Set
    End Property

    Public Property Kguni() As Integer
        Get
            Return _kguni
        End Get

        Set(ByVal value As Integer)
            _kguni = value
        End Set
    End Property

    Public Property Observacion() As String
        Get
            Return _observacion
        End Get

        Set(ByVal value As String)
            _observacion = value
        End Set
    End Property

    Public Property Plano() As String
        Get
            Return _plano
        End Get

        Set(ByVal value As String)
            _plano = value
        End Set
    End Property

    Public Property Planificado() As Boolean
        Get
            Return _planificado
        End Get

        Set(ByVal value As Boolean)
            _planificado = value
        End Set
    End Property

    Public Property Porcentaje_avance() As String
        Get
            Return _porcentaje_avance
        End Get

        Set(ByVal value As String)
            _porcentaje_avance = value
        End Set
    End Property

    Public Property Fk_planificacion() As Integer
        Get
            Return _fk_planificacion
        End Get

        Set(ByVal value As Integer)
            _fk_planificacion = value
        End Set
    End Property









End Class
